package com.vstudy.zx.service;

import com.vstudy.zx.entity.Article;
import com.vstudy.zx.entity.Grade;
import com.vstudy.zx.entity.Outline;
import com.vstudy.zx.entity.Subject;
import com.vstudy.zx.utils.page.ArticlePage;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

public interface CatalogService {
    List<Article> getArticlesPage(ArticlePage page, Integer gradeId, Long subjectId, HttpServletRequest request);

    Subject getSubjectById(Long sId);

    Grade getGradeById(Integer gId);

    List<Article> getArticlesByOutlineId(Long outlineId, HttpServletRequest request);

    Outline getOutlineById(Long outlineId);

    List<Article> getArticlesPage(ArticlePage page, Long oid, HttpServletRequest request);

    List<Outline> getOutlinesBySubjectId(Long subjectId);
}
